<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>-- 单文件上传 --</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
	<form action="../upload/uploadOneImg" method="post" enctype="multipart/form-data">
	    <table class="uploadImgs">
	        <tr>
	            <td colspan="2">
	                <h1 style="font-size: 28px">头&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;像</h1>
	                <font color="red"></font>
	            </td>
	        </tr>
	        <tr>
	            <td>头像:</td>
	            <td>
	                <input type="file" name="upload">
	            </td>
	        </tr>
	        <tr>
	            <td colspan="2" align="center">
	                <input type="submit" value="点击上传">
	            </td>
	        </tr>
	        <tr>
	            <td colspan="2" align="center">
				    <p><font color="red">${uploadError }</font></p>
	            </td>
	        </tr>
	    </table>
    </form>
</body>
</html>